//统一管理咱们项目用户相关的接口
import request from '@/utils/request'

import type { loginFormData } from './type'

//项目用户相关的请求地址

//登录接口
export const Login = (data: loginFormData) =>
  request.post<any, any>('/api/user/login', data)

//获取用户信息
export const reqUserInfo = () => request.get<any, any>('/admin/acl/index/login')

//退出登录
export const reqLogout = () => request.post<any, any>('/admin/acl/index/logout')
